package com.aba.hos.dao;

import com.aba.hos.admin.Admin;

import java.sql.SQLException;
import java.util.List;

public interface AdminDao {

    public int addAdmin(Admin admin) throws SQLException;

    public int updateAdminDoc(String id, String name,  String position) throws SQLException;

    public List<Admin> queryAdmin() throws SQLException;

    public List<Admin> queryAdminRole(String role) throws SQLException;

}